package gitee.derumin.lifeissohard.generate.recipes;

import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
import net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider;
import net.minecraft.data.server.recipe.RecipeJsonProvider;

import java.util.function.Consumer;

public class RecipesProvider extends FabricRecipeProvider {
    public RecipesProvider(FabricDataOutput output) {
        super(output);
    }

    @Override
    public void generate(Consumer<RecipeJsonProvider> exporter) {
        Crafting.generateShapelessRecipes(exporter);
        Crafting.generateShapedRecipes(exporter);
        SmeltingSmokingBlastingAndCampfire.generateSmeltingRecipes(exporter);
        SmeltingSmokingBlastingAndCampfire.generateSmokingRecipes(exporter);
        SmeltingSmokingBlastingAndCampfire.generateCampfireRecipes(exporter);
    }
}
